package com.domain;

import java.util.List;

public class Gallery {
    private int id;
    private String gtitle;      //标题
    private String gmsg;        //简介
    private String createtime;    //创建日期
    private Integer delete;     //是否删除（0：未删除，1：已删除）
    private List<GalleryImg> images;    //该gallery下所有img

    @Override
    public String toString() {
        return "Gallery{" +
                "id=" + id +
                ", gtitle='" + gtitle + '\'' +
                ", text='" + gmsg + '\'' +
                ", createtime=" + createtime +
                ", delete=" + delete +
                ", images=" + images +
                '}';
    }

    public List<GalleryImg> getImages() {
        return images;
    }

    public void setImages(List<GalleryImg> images) {
        this.images = images;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGtitle() {
        return gtitle;
    }

    public void setGtitle(String gtitle) {
        this.gtitle = gtitle;
    }

    public String getGmsg() {
        return gmsg;
    }

    public void setGmsg(String gmsg) {
        this.gmsg = gmsg;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public Integer getDelete() {
        return delete;
    }

    public void setDelete(Integer delete) {
        this.delete = delete;
    }
}
